package xzy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("student")
public class Student {
    private int id;
    private String userName;
    private String password;

    public Student(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }


}
